package com.greate.shiro.springbootshirodemo.utils;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;

/**
 * @author Administrator
 */
public class MybatisPlusUtils {

	public static <T> LambdaQueryChainWrapper<T> lQuery(BaseMapper<T> baseMapper) {
		return new LambdaQueryChainWrapper<>(baseMapper);
	}

	public static <T> LambdaQueryChainWrapper<T> lUpdate(BaseMapper<T> baseMapper) {
		return new LambdaQueryChainWrapper<>(baseMapper);
	}

}
